public class L01 {
    public static void main(String[] args) {
        int[] arr1=new int[5];
        arr1[0]=10;
        arr1[1]=20;
        arr1[2]=30;
        arr1[3]=40;
        arr1[4]=50;
        System.out.println(arr1[0]);
        System.out.println(arr1[1]);
        System.out.println(arr1[2]);
        System.out.println(arr1[3]);
        System.out.println(arr1[4]);
        System.out.println("-------------");
        int []arr2={10,20,30,40,50,60};
        System.out.println(arr2[0]);
        System.out.println(arr2[1]);
        System.out.println(arr2[2]);
        System.out.println(arr2[3]);
        System.out.println(arr2[4]);
        System.out.println(arr2[5]);

        System.out.println(arr2.length);

        System.out.println("-------------");
        for (int i=0;i<6;i++) {
            System.out.println(arr2[i]);

        }

    }
}
